package com.hsc.www.mybatis.soEasy.ee.crudMapper;

import com.hsc.www.mybatis.soEasy.ee.rr.BaseExample;

public interface UpdateMapper<Entity, Example extends BaseExample>  extends UpdateBaseMapper<Entity,Example>{

    default int updateByPrimaryKey(Entity entity) {
        return updateByPrimaryKey(entity, getDefaultStrategy());
    }

    default int updateByExample(Entity entity,Example example) {
        return updateByExample(entity, example, getDefaultStrategy());
    }
}
